glob
Get all files matching patterns.
For very large globs, globFlow is recommended.
*, ?, [...], and ** are supported in patterns. ~ will be expanded. Patterns that begin with # are ignored. Patterns that begin with ! exclude matching files. Characters can be escaped by wrapping them in [], or by using \ on non-Windows systems.
Parameters
patterns
patterns to check
followSymbolicLinks
whether to follow symbolic links when collecting files
implicitDescendants
whether to implicitly include all descendants of matching files
omitBrokenSymbolicLinks
ignore broken symbolic links
matchDirectories
whether to include directories in the result